<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> 
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> 
<!DOCTYPE HTML>
<html>
  <head>
    <%@include file="../common.jsp"%>
    <title>用户管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">  
	<link rel="stylesheet" type="text/css" href="resources/css/common.css">
	<script type="text/javascript" src="resources/js/file.js"></script>  
<!-- 	<link href="resources/zui/lib/chosen/chosen.css" type="text/css" rel="stylesheet" />
	<script type="text/javascript" src="resources/zui/lib/chosen/chosen.js"></script>   -->
  </head>

  <body>
	<div class="panel panel-success">
		<div class="panel-heading">
			<a href="file.htm" target="main_iframe">返回资料库列表</a>/ 工程资料库详情
		</div>
		<table class="table">
			<tr>
				<td>文件标题</td>
				<td>${info.name}</td>
			</tr>
			<tr>
				<td>文件格式</td>
				<td>${info.type.typeName}</td>
			</tr>
			<tr>
				<td>文件大小</td>
				<td>${info.size}&nbsp;B</td>
			</tr>
			<tr>
				<td>文件价格</td>
				<td>${info.price}</td>
			</tr>
			<tr>
				<td>文件标签</td>
				<td><c:forEach var="tag" items="${info.tagList}" varStatus="i">
			        ${tag.name} &nbsp;
			   </c:forEach></td>
			</tr>
			<tr>
				<td>文件上传时间</td>
				<td><fmt:formatDate value="${info.uploadTime}" pattern="yyyy-MM-dd HH:mm:ss" />
				</td>
			</tr>
			<tr>
				<td>文件简介</td>
				<td>${info.introduction}</td>
			</tr>
			<tr>
				<td>文件下载次数</td>
				<td>${info.downloadCount}</td>
			</tr>
			<tr>
				<td>文件下载基数</td>
				<td>${info.cardinal}</td>
			</tr>
			<tr>
				<td>文件浏览次数</td>
				<td>${info.browseCount}</td>
			</tr>
			<tr>
				<td>文件评论次数</td>
				<td>${info.commentCount}</td>
			</tr>
			<tr>
				<td>文件收藏次数</td>
				<td>${info.collectionCount}</td>
			</tr>
		</table>
	</div>

	<!-- <select name="dept" data-placeholder="请选择关联家长(可搜索名字)" style="width: 350px;" id="dept" class="dept_select" multiple > 
    <option value="部门1" data-keys="qwe">部门1</option>
    <option value="部门2">部门2</option>
    <option value="部门3">部门3</option>
    <option value="部门4">部门4</option>
    <option value="部门5">部门5</option>
</select> -->
  </body>
<script>
/* $(function(){
    $('.dept_select').chosen({
       no_results_text : "未找到此选项!", 
    	allow_single_deselect:true,
    	max_selected_options :10
    });
    
}); */
</script>
</html>